package marchsoft.modules.tiku.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import marchsoft.modules.tiku.validation.ValidateShow;

import javax.validation.constraints.NotNull;

/**
 * Description：
 *
 * @author zhansiyu
 * Date: 2022/4/4 8:56
 **/
@Data

public class AddSafeTypeDto {
    @NotNull(message = "分类名称不能为空")
    @ApiModelProperty(value = "分类名称")
    private String name;

    @NotNull(message = "logo不能为空")
    @ApiModelProperty(value = "logo")
    private String picPath;

    @NotNull(message = "路由路径不能为空")
    @ApiModelProperty(value = "路由路径")
    private String rooterPath;

    @NotNull(message = "题库图标路径不能为空")
    @ApiModelProperty(value = "题库图标路径")
    private String repositoryPath;

    @NotNull(message = "分类名简称不能为空")
    @ApiModelProperty(value = "分类名简称")
    private String forShort;

    @NotNull(message = "图标序号不能为空")
    @ApiModelProperty(value = "图标序号")
    private Integer seqNum;

    @NotNull(message = "状态不能为空")
    @ApiModelProperty(value = "是否显示：显示（1），隐藏（0）")
    private Boolean isShow;
}
